package com.peas.platform.module.icims.contract.initial.controller.vo;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("初始合同执行-生效")
public class ContractInitialEffectVo extends BaseVo {

    // 【初始合同表】
    @Comment(value = "合同ID")
    @ApiModelProperty(value = "合同ID")
    @NotNull(message = "合同ID不能为空")
    private Long contractInitialId;

    @Comment(value = "批次号")
    @ApiModelProperty(value = "批次号")
    @Size(max = 20, message = "批次号不能超过20个字符")
    private String batch;

    // 【用户表】
    @Comment(value = "生效经办人")
    @ApiModelProperty(value = "生效经办人")
    private Long effectUserId;

    // 【组织架构表】
    @Comment(value = "生效经办人部门")
    @ApiModelProperty(value = "生效经办人部门")
    private Long effectDepartmentId;

    // 【附件表】
    @Comment(value = "附件ID")
    @ApiModelProperty(value = "附件ID")
    private Long attachmentId;

    @Comment(value = "附件名称")
    @ApiModelProperty(value = "附件名称")
    @Size(max = 200, message = "附件名称不能超过200个字符")
    private String attachmentName;

    @Comment(value = "附件URL")
    @ApiModelProperty(value = "附件URL")
    @Size(max = 500, message = "附件URL不能超过500个字符")
    private String attachmentUrl;

    @Comment(value = "附件大小")
    @ApiModelProperty(value = "附件大小")
    private Long attachmentSize;

    @Comment(value = "附件上传时间")
    @ApiModelProperty(value = "附件上传时间")
    private Date attachmentUpload;

    @Comment(value = "附件上传人")
    @ApiModelProperty(value = "附件上传人")
    @Size(max = 20, message = "附件上传人不能超过20个字符")
    private String attachmentUploader;

    @Comment(value = "备注")
    @ApiModelProperty(value = "备注")
    @Size(max = 1000, message = "备注不能超过1000个字符")
    private String remark;

    @Comment(value = "生效状态", enumType = "ContractInitialEffectState")
    @ApiModelProperty(value = "生效状态", notes = "枚举取值:ContractInitialEffectState")
    @Size(max = 20, message = "生效状态不能超过20个字符")
    private String state;

}
